package flag

import (
	"gin_framework/global"
	"gin_framework/models"
)

func MakeMigrations() {
	var err error
	err = global.DB.Set("gora:table_options", "ENGINE=InnoDB").AutoMigrate(
		&models.UserModel{},
	)
	global.Log.Error(err)
}
